home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Languages
/
Caml Light 0.7
/
Caml Light 0.7 source
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-07-05
|
1KB
|
37 lines
distdir = fleurs:programmation:cl7distrib:
distbin = "{distdir}Caml Light 0.7:"
distsrc = "{distdir}Caml Light 0.7 source:"
all ƒ
directory src
do make world install
directory ::
do make distrib
distrib ƒ dist-bin dist-src
# These assume that "world" and "install" have already been made (in src).
# Application
dist-bin ƒ
execute :src:config
delete -y -i {distbin}
newfolder {distbin}
duplicate "{LIBDIR}:Caml Light" {distbin}
newfolder {distbin}lib
duplicate "{LIBDIR}"≈.mli "{LIBDIR}"≈.zi "{LIBDIR}"≈.zix ∂
"{LIBDIR}camlmsgs.txt" {distbin}lib:
directory examples; do make clean; directory ::
duplicate :examples: {distbin}
duplicate CHANGES README COPYRIGHT INSTALL KNOWN-BUGS {distbin}
# Sources
dist-src ƒ
directory src; do make clean gensrc; directory ::
delete -y -i {distsrc}
newfolder {distsrc}
duplicate :≈ {distsrc}
delete -y -i {distsrc}contrib #######
delete -i {distsrc}src:caml≈.[0-9]* ||echo
delete -i {distsrc}src:"Caml Light" {distsrc}src:camlrun ∂
{distsrc}src:camlyacc {distsrc}src:clprepro